package Test8;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintWriter;

public class Demo2 {
    public static void main(String[] args) throws FileNotFoundException {
        PrintWriter pw=new PrintWriter(new FileOutputStream("D:\\poem7.txt"));
        pw.println("666");
        pw.flush();
        pw.println("千山鸟飞绝");
        pw.close();
    }
}
